package com.yzh.grainmall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author yuzhen
 * @create 2021-11-09 20:09
 */
//开启feign客户度的远程调用功能grainmall-cart
//扫描feign文件夹下的带有@FeignClient注解的接口
@EnableFeignClients(basePackages = "com.yzh.grainmall.cart.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GrainmallCartApplication {

    public static void main(String[] args) {
        SpringApplication.run(GrainmallCartApplication.class, args);
    }

}
